<div id="sidebar" class="collapse navbar-collapse col-md-2 col-sm-3">
    <!-- Start .sidebar-inner -->
    <div class="sidebar-inner">
        <ul id="sideNav" class="nav nav-pills nav-stacked">
            <li class="{{$active == 'payment' ? 'on' : ''}}">
                <a href="/statistic/payments">
                    <div class="col-sm-9  col-xs-10">
                        <h4>通道统计</h4>
                    </div>
                    <div class="col-sm-3  col-xs-2">
                        <i class="arrowH"></i>
                    </div>
                </a>
            </li>
            @if(\Illuminate\Support\Facades\Session::get('user')->profile->role == 1)
                <li class="{{$active == 'submchinfo' ? 'on' : ''}}">
                    <a href="/statistic/submchinfo">
                        <div class="col-sm-9  col-xs-10">
                            <h4>下级商户统计</h4>
                        </div>
                        <div class="col-sm-3  col-xs-2">
                            <i class="arrowH"></i>
                        </div>
                    </a>
                </li>
                <li class="{{$active == 'suborder' ? 'on' : ''}}">
                <a href="/statistic/suborders">
                    <div class="col-sm-9  col-xs-10">
                        <h4>下级商户订单</h4>
                    </div>
                    <div class="col-sm-3  col-xs-2">
                        <i class="arrowH"></i>
                    </div>
                </a>
            </li>
            <li class="{{$active == 'substatistic' ? 'on' : ''}}">
                <a href="/statistic/substatistic">
                    <div class="col-sm-9  col-xs-10">
                        <h4>下级商户通道统计</h4>
                    </div>
                    <div class="col-sm-3  col-xs-2">
                        <i class="arrowH"></i>
                    </div>
                </a>
            </li>
            @endif()

        </ul>
    </div>
</div>
